package org.brisling.oa.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;
import javax.persistence.Transient;

import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 
 * <p>Title: OADrugPurchase</p>
 * <p>Description: 药品采购模块实体类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月8日 下午8:09:36
 */
@Entity
@Table(name=ConstSysParam.MODULE_OA_DRUGPURCHASE)
public class OADrugPurchase extends BaseOADomain implements BaseFlowDomainInf,BaseOADomainInf{

	
	
	//具体事项(父类name)
	
	//申购人员及科室（父类apply_name apply_deptname）


	//填表日期(父类apply_date)
//	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//		private Date apply_date;
	
			//申请理由（父类 apply_content）

			//药品采购科初审（父类 dept_content）
				
			//临时用药审核
			 private String drugtest_content;
				 
			//临床药学科审核（父类 audit_content）
				
			//分管院长审核(父类chargeLeader_content）
			 
			//科室主任审核(父类directLeader_content）

			//院长审核
			private String tender_content;
				
		    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
			private Date tender_time;
				
			private String tender_name;
				
			private String tender_id;
			 
			 
			//药品采购入库
			private  String inputStore;
				
			//附件
			private Long fujian;
					
			//耗材信息子表记录(前端至后端)
			@Transient
			private String supply_sub_info;

			
			public Date getApply_date() {
				return apply_date;
			}

			public void setApply_date(Date apply_date) {
				this.apply_date = apply_date;
			}

			public String getDrugtest_content() {
				return drugtest_content;
			}

			public void setDrugtest_content(String drugtest_content) {
				this.drugtest_content = drugtest_content;
			}

			public String getInputStore() {
				return inputStore;
			}

			public void setInputStore(String inputStore) {
				this.inputStore = inputStore;
			}

			public Long getFujian() {
				return fujian;
			}

			public void setFujian(Long fujian) {
				this.fujian = fujian;
			}

			public String getSupply_sub_info() {
				return supply_sub_info;
			}

			public void setSupply_sub_info(String supply_sub_info) {
				this.supply_sub_info = supply_sub_info;
			}

			public String getTender_content() {
				return tender_content;
			}

			public void setTender_content(String tender_content) {
				this.tender_content = tender_content;
			}

			public Date getTender_time() {
				return tender_time;
			}

			public void setTender_time(Date tender_time) {
				this.tender_time = tender_time;
			}

			public String getTender_name() {
				return tender_name;
			}

			public void setTender_name(String tender_name) {
				this.tender_name = tender_name;
			}

			public String getTender_id() {
				return tender_id;
			}

			public void setTender_id(String tender_id) {
				this.tender_id = tender_id;
			}
			
		    
	


		
}
